export class CommentsServiceData {
    public static get addComment() {
        return {
            input: {
                projectId: 'projectId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {data: {testData: 'testData'}, projectId: 'projectId'},
                url: '/projects/projectId/comments',
            },
        };
    }

    public static get getProjectComments() {
        return {
            input: {
                projectId: 'projectId',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/projects/projectId/comments',
            },
        };
    }

    public static get searchComments() {
        return {
            input: {
                projectId: 'projectId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/projects/projectId/comments/batch',
            },
        };
    }

    public static get getComments() {
        return {
            input: {
                projectId: 'projectId',
                testData: 'testData',
            },
            output: {
                config: {
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {projectId: 'projectId', testData: 'testData'},
                    timeout: 60,
                },
                url: '/projects/projectId/comments/search',
            },
        };
    }

    public static get deleteComment() {
        return {
            input: {
                projectId: 'projectId',
                commentId: 'commentId',
            },
            output: {
                config: {
                    data: undefined,
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {},
                    timeout: 60,
                },
                url: '/projects/projectId/comments/commentId',
            },
        };
    }

    public static get updateComment() {
        return {
            input: {
                projectId: 'projectId',
                commentId: 'commentId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/projects/projectId/comments/commentId',
            },
        };
    }

    public static get changeCommentStates() {
        return {
            input: {
                projectId: 'projectId',
                commentId: 'commentId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/projects/projectId/comments/commentId/state',
            },
        };
    }

    public static get addResponse() {
        return {
            input: {
                projectId: 'projectId',
                commentId: 'commentId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/projects/projectId/comments/commentId/replies',
            },
        };
    }

    public static get deleteReply() {
        return {
            input: {
                projectId: 'projectId',
                commentId: 'commentId',
                replyId: 'replyId',
            },
            output: {
                config: {
                    data: undefined,
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {},
                    timeout: 60,
                },
                url: '/projects/projectId/comments/commentId/replies/replyId',
            },
        };
    }

    public static get updateReply() {
        return {
            input: {
                projectId: 'projectId',
                commentId: 'commentId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/projects/projectId/comments/commentId/replies/undefined',
            },
        };
    }

    public static get updateReplyState() {
        return {
            input: {
                projectId: 'projectId',
                commentId: 'commentId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/projects/projectId/comments/commentId/replies/undefined/state',
            },
        };
    }
}
